pp108 : Translating XForms

Translating XForms

This topic describes the procedure to translate an XForm.

To be able to cater to a varied set of users, you may need to translate the XForms that you create in Process Platform into various languages.

  1. In the My Applications App Palette, select to display the Workspace Documentswindow. You can initiate the translation process at document level or at project level.
    • In the Workspace Documents, right-click the document, and select Translate to open the Translation Editor.
    • In the Workspace Documents (Explorer) window, select the XForm, right-click and select Translate. The Translation Editor <XForm> window appears displaying the existing labels and messages in the XForm. For information about adding messages to an XForm, see XForms Designer.

      Note:
      For enabling the descriptions of controls, such as Status bar, Slider, and Select box translatable, add those descriptions to the Messages tab. For information about adding messages to an XForm, refer to XForms Designer.

  2. To add translation languages, click the Language Settings icon. A window appears, where you can add or delete languages. After adding the languages, you can set the language for a project. To do so, select the the appropriate language from the Project Language drop-down list, which displays all added languages.
  3. To edit the translation of a label, type the new translated label under the corresponding language column.

    Note:
    Ensure that the labels or messages that you define do not contain a mix of single quotation marks and double quotation marks.

  4. Delete the identifiers that are not used in your project and click . The identifiers and translations are saved as a '.mlm' file in the XML Store.

Note:
If you do not delete unused identifiers from the Translation Editor, all the identifiers will be saved to the '.mlm' file. Deletion of identifiers is allowed only on the project level.

The XForm is translated.

After you complete this task:
After translating an XForm, you must publish the project to view the translated XForm in run time.

Related tasks

Translating Text to a Target Language
Reconstructing Missing Translations

Related reference

Accessing XForms and Translations using URLs